import {
  AccountParams,
  AccountListGetResultModel,
} from './model/systemModel';
import { defHttp } from '@/utils/http/axios';

enum Api {
  GoodsList = '/shop/getGoodsList',
}

export const getGoodsList = (params: AccountParams) =>
  defHttp.get<AccountListGetResultModel>({ url: Api.GoodsList, params });
